#!/bin/bash

# author: leebin

s=0

for(( i=1; i<=100; i=i+1 ))
	do
		s=$(( $s+$i ))
	done
echo "the sum of 1+2+3+...+100 is $s"


